package com.example.personal.aiagent.xunfei.account.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 用户
 */
@Data
@ToString(exclude = {"apiSecret", "apiKey"})
@AllArgsConstructor
@NoArgsConstructor
@TableName("ACCOUNT")
public class AccountEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String appId;

    private String apiSecret;

    private String apiKey;

    private String createTimeDisplay;

    private String modifyTimeDisplay;

    private Integer createTimestamp;

    private Integer modifyTimestamp;
}
